﻿using System;
using System.IO;
using System.Net;

namespace Inovout.Net
{
    public class HttpRequest
    {
        internal HttpWebRequest HttpWebRequest { get; private set; }
        internal HttpRequest(HttpWebRequest httpWebRequest)
        {
            this.HttpWebRequest = httpWebRequest;
        }
        internal Stream GetStream()
        {
            HttpWebRequest.Method = "POST";
            return HttpWebRequest.GetRequestStream();
        }
    }
}
